package com.dk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dk.VO.TbOrderVO;
import com.dk.pojo.TbOrder;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface TbOrderMapper extends BaseMapper<TbOrder> {
    @Select("select status from tb_order where car_id =#{cid} and user_id =#{userid} and payment = #{num} ")
    String selectStatus(Long userid, Long cid, Long num);
}
